<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>注册</title>
<%@ include file="/WEB-INF/views/layout/public_css.jsp"%>
<%@ include file="/WEB-INF/views/layout/public_js.jsp"%>
<style type="text/css">
.display-none {
	display:none;
}
</style>

</head>
<body>
<%@ include file="/WEB-INF/views/layout/head.jsp"%>

<div class="container-fluid">
    <div class="row">
    	<div class="col-md-3"></div>
    	<div class="col-md-6">
    		<form class="form-horizontal" id="register" action="<%=basePath%>/user/addUserStep2" method="post" enctype="multipart/form-data">

    		  <div  id="first-step">
				  <c:if test="${sessionScope.user.role == 1}">
				  	
					   <div class="form-group">
					    <label for="" class="col-sm-2 control-label">传真</label>
					    <div class="col-sm-10">
					      <input type="text" class="form-control" id="supplierFax" name="supplierFax" placeholder="">
					    </div>
					  </div>
				  </c:if>
    		  	  <c:if test="${sessionScope.user.role == 2}">
    		  	  	  
					  <div class="form-group">
					    <label for="" class="col-sm-2 control-label">提供服务的其他地区</label>
					    <div class="col-sm-10">
					      <input type="text" class="form-control" id="providerOtherZone" name="providerOtherZone" placeholder="">
					    </div>
					  </div>
    		  	  </c:if>
				  
	    		  <div class="form-group">
				    <label for="" class="col-sm-2 control-label">机构名称</label>
				    <div class="col-sm-10">
				      <input type="text" class="form-control" id="institutionName" value="${sessionScope.user.institutionName}" placeholder="">
				    </div>
				  </div>
				  <div class="form-group">
				    <label for="" class="col-sm-2 control-label">用户类型</label>
				    <div class="col-sm-10">
				      <select class="form-control" name="institutionType"  id=institutionType>
						  <option value="1"><c:if test="${sessionScope.user.role == 1}"><option value="1" selected="selected"></c:if>产品/服务提供商</option>
						  <option value="2"><c:if test="${sessionScope.user.role == 2}"><option value="1" selected="selected"></c:if>社区服务提供商</option>
						  <option value="3"><c:if test="${sessionScope.user.role == 3}"><option value="1" selected="selected"></c:if>政府机构</option>
						</select>
				    </div>
				  </div>
	              <div class="form-group">
				    <label for="" class="col-sm-2 control-label">机构代码</label>
				    <div class="col-sm-10">
				      <input type="password" class="form-control" id="institutionCode" name="institutionCode" placeholder="">
				    </div>
				  </div>
	              <div class="form-group">
				    <label for="" class="col-sm-2 control-label">机构证件照片</label>
				    <div class="col-sm-10">
				      <input type="file" id="institutionPicPath" name="institutionPicPath1"  class="form-file">
				    </div>
				  </div>
	              <div class="form-group">
				    <label for="" class="col-sm-2 control-label">机构开户名称</label>
				    <div class="col-sm-10">
				      <input type="text" class="form-control" id="institutionAccountName" name="institutionAccountName" placeholder="">
				    </div>
				  </div>
				  <div class="form-group">
				    <label for="" class="col-sm-2 control-label">机构开户银行</label>
				    <div class="col-sm-10">
				      <input type="text" class="form-control" id="institutionBank" name="institutionBank" placeholder="">
				    </div>
				  </div>
				  <div class="form-group">
				    <label for="" class="col-sm-2 control-label">机构银行账号</label>
				    <div class="col-sm-10">
				      <input type="text" class="form-control" id="institutionAccountNum" name="institutionAccountNum" placeholder="">
				    </div>
				  </div>
				 
				  <p class="text-right"><button type="submit" class="btn btn-default " id="button-2">跳  过</button> <button type="submit" class="btn btn-default " id="button-1">下一步</button></p>
			  </div>
		     
			</form>
    	</div>

    </div> 
</div>

</body>
</html>